package com.gitee.huxing.course.service;

import com.gitee.huxing.api.User;
import com.gitee.huxing.api.UserService;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @ProjectName: JavaCourse
 * @Package: com.gitee.huxing.course.service
 * @ClassName: UserServiceImpl
 * @Author: huxing
 * @DateTime: 2021-10-03 下午3:45
 */
@Service("com.gitee.huxing.api.UserService")
public class UserServiceImpl implements UserService {

    @Override
    public User findById(int id) {
        return new User(id, "huxing" + System.currentTimeMillis());
    }
}
